/**
 * @mbggenerated
 * @author kehui
 */
package com.mall.pojo;

import java.util.Date;

public class User {
    /**
     * user.id
     * 
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long id;

    /**
     * user.user_name
     * 
     * VARCHAR(32)
     *
     * @mbggenerated
     */
    private String userName;

    /**
     * user.sex
     * 性别0：男1：女
     * SMALLINT(5)
     *
     * @mbggenerated
     */
    private Short sex;

    /**
     * user.portrait
     * 
     * VARCHAR(200)
     *
     * @mbggenerated
     */
    private String portrait;

    /**
     * user.type
     * 0：普通用户',1：运营商，2：卖家 8:测试账号6:安装7：客服  5买个店后台
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer type;

    /**
     * user.phone
     * 电话号码
     * VARCHAR(11)
     *
     * @mbggenerated
     */
    private String phone;

    /**
     * user.name_and_phone
     * 姓名和手机号同存，用于查询
     * VARCHAR(50)
     *
     * @mbggenerated
     */
    private String nameAndPhone;

    /**
     * user.password
     * 
     * VARCHAR(50)
     *
     * @mbggenerated
     */
    private String password;

    /**
     * user.level
     * Vip等级0：普通用户，1：一级分销商2：二级分销商3：三级分销商
     * SMALLINT(5)
     *
     * @mbggenerated
     */
    private Short level;

    /**
     * user.integral
     * 积分
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long integral;

    /**
     * user.status
     * 状态 0：普通 -1 删除 1 通过 2:在线-2：下线
     * SMALLINT(5)
     *
     * @mbggenerated
     */
    private Short status;

    /**
     * user.sign
     * 各种标记 二进制
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long sign;

    /**
     * user.create_user_id
     * 创建该用户的管理员userId
     * BIGINT(19)
     *
     * @mbggenerated
     */
    private Long createUserId;

    /**
     * user.gmt_create
     * 
     * TIMESTAMP(19)
     *
     * @mbggenerated
     */
    private Date gmtCreate;

    /**
     * user.gmt_modify
     * 
     * TIMESTAMP(19)
     *
     * @mbggenerated
     */
    private Date gmtModify;

    /**
     * user.attribute
     * 
     * VARCHAR(3000)
     *
     * @mbggenerated
     */
    private String attribute;

    /**
     * user.comm_only_key
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer commOnlyKey;

    /**
     * user.province_id
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer provinceId;

    /**
     * user.city_id
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer cityId;

    /**
     * user.area_id
     * 
     * INTEGER(10)
     *
     * @mbggenerated
     */
    private Integer areaId;

    /**
     * user.id_card
     * 身份证号
     * VARCHAR(50)
     *
     * @mbggenerated
     */
    private String idCard;

    /* @mbggenerated */
    public Long getId() {
        return id;
    }

    /* @mbggenerated */
    public void setId(Long id) {
        this.id = id;
    }

    /* @mbggenerated */
    public String getUserName() {
        return userName;
    }

    /* @mbggenerated */
    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    /* @mbggenerated */
    public Short getSex() {
        return sex;
    }

    /* @mbggenerated */
    public void setSex(Short sex) {
        this.sex = sex;
    }

    /* @mbggenerated */
    public String getPortrait() {
        return portrait;
    }

    /* @mbggenerated */
    public void setPortrait(String portrait) {
        this.portrait = portrait == null ? null : portrait.trim();
    }

    /* @mbggenerated */
    public Integer getType() {
        return type;
    }

    /* @mbggenerated */
    public void setType(Integer type) {
        this.type = type;
    }

    /* @mbggenerated */
    public String getPhone() {
        return phone;
    }

    /* @mbggenerated */
    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    /* @mbggenerated */
    public String getNameAndPhone() {
        return nameAndPhone;
    }

    /* @mbggenerated */
    public void setNameAndPhone(String nameAndPhone) {
        this.nameAndPhone = nameAndPhone == null ? null : nameAndPhone.trim();
    }

    /* @mbggenerated */
    public String getPassword() {
        return password;
    }

    /* @mbggenerated */
    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    /* @mbggenerated */
    public Short getLevel() {
        return level;
    }

    /* @mbggenerated */
    public void setLevel(Short level) {
        this.level = level;
    }

    /* @mbggenerated */
    public Long getIntegral() {
        return integral;
    }

    /* @mbggenerated */
    public void setIntegral(Long integral) {
        this.integral = integral;
    }

    /* @mbggenerated */
    public Short getStatus() {
        return status;
    }

    /* @mbggenerated */
    public void setStatus(Short status) {
        this.status = status;
    }

    /* @mbggenerated */
    public Long getSign() {
        return sign;
    }

    /* @mbggenerated */
    public void setSign(Long sign) {
        this.sign = sign;
    }

    /* @mbggenerated */
    public Long getCreateUserId() {
        return createUserId;
    }

    /* @mbggenerated */
    public void setCreateUserId(Long createUserId) {
        this.createUserId = createUserId;
    }

    /* @mbggenerated */
    public Date getGmtCreate() {
        return gmtCreate;
    }

    /* @mbggenerated */
    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    /* @mbggenerated */
    public Date getGmtModify() {
        return gmtModify;
    }

    /* @mbggenerated */
    public void setGmtModify(Date gmtModify) {
        this.gmtModify = gmtModify;
    }

    /* @mbggenerated */
    public String getAttribute() {
        return attribute;
    }

    /* @mbggenerated */
    public void setAttribute(String attribute) {
        this.attribute = attribute == null ? null : attribute.trim();
    }

    /* @mbggenerated */
    public Integer getCommOnlyKey() {
        return commOnlyKey;
    }

    /* @mbggenerated */
    public void setCommOnlyKey(Integer commOnlyKey) {
        this.commOnlyKey = commOnlyKey;
    }

    /* @mbggenerated */
    public Integer getProvinceId() {
        return provinceId;
    }

    /* @mbggenerated */
    public void setProvinceId(Integer provinceId) {
        this.provinceId = provinceId;
    }

    /* @mbggenerated */
    public Integer getCityId() {
        return cityId;
    }

    /* @mbggenerated */
    public void setCityId(Integer cityId) {
        this.cityId = cityId;
    }

    /* @mbggenerated */
    public Integer getAreaId() {
        return areaId;
    }

    /* @mbggenerated */
    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    /* @mbggenerated */
    public String getIdCard() {
        return idCard;
    }

    /* @mbggenerated */
    public void setIdCard(String idCard) {
        this.idCard = idCard == null ? null : idCard.trim();
    }
}